<!-- 个人信息部分 -->
<template>
  <PartLayout :parts="parts" />
</template>

<script setup lang="ts">
import PartLayout from "@/views/Materials/components/PartLayout.vue";

const parts = [
  {
    name: "姓名",
    path: "/materials/personal-info-group/personal-info-name",
  },
  {
    name: "身份证号",
    path: "/materials/personal-info-group/personal-info-id",
  },
  {
    name: "出生日期",
    path: "/materials/personal-info-group/personal-info-birth",
  },
  {
    name: "性别",
    path: "/materials/personal-info-group/personal-info-gender",
  },
  {
    name: "年龄",
    path: "/materials/personal-info-group/personal-info-age",
  },
  {
    name: "学历",
    path: "/materials/personal-info-group/personal-info-education",
  },
  {
    name: "大学",
    path: "/materials/personal-info-group/personal-info-collage",
  },
  {
    name: "专业",
    path: "/materials/personal-info-group/personal-info-major",
  },
  {
    name: "行业",
    path: "/materials/personal-info-group/personal-info-industry",
  },
  {
    name: "职业",
    path: "/materials/personal-info-group/personal-info-career",
  },
  {
    name: "公司",
    path: "/materials/personal-info-group/personal-info-company",
  },
  {
    name: "职位",
    path: "/materials/personal-info-group/personal-info-position",
  },
];

defineOptions({
  meta: {
    title: "个人信息",
    __isRouteComponent: true,
    __rmFileSuffix: "Part",
    __addRouteSuffix: "Group",
    __redirect: "/materials/personal-info-group/personal-info-name",
    __children: [
        {
          path: "personal-info-name",
          name: "personal-info-name",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-id",
          name: "personal-info-id",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-birth",
          name: "personal-info-birth",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/AdvancedComs/DateSelect.vue"
            ),
        },
        {
          path: "personal-info-gender",
          name: "personal-info-gender",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/ChooseComs/SingleSelect.vue"
            ),
        },
        {
          path: "personal-info-age",
          name: "personal-info-age",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-education",
          name: "personal-info-education",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/ChooseComs/OptionSelect.vue"
            ),
        },
        {
          path: "personal-info-collage",
          name: "personal-info-collage",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-major",
          name: "personal-info-major",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-industry",
          name: "personal-info-industry",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-career",
          name: "personal-info-career",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/ChooseComs/OptionSelect.vue"
            ),
        },
        {
          path: "personal-info-company",
          name: "personal-info-company",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
        {
          path: "personal-info-position",
          name: "personal-info-position",
          component: () =>
            import(
              "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
            ),
        },
      ],
  },
});
</script>

<style scoped></style>
